class Test(object):
    def __init__(self, name):
        self.__name = name

    @property
    def name(self):
        print("====getter====")
        return self.__name

    @name.setter
    def name(self, value):
        print("====setter====")
        self.__name = value

t = Test("lychiyu")
print(t.name)
